import {request} from '@/utils/http/axios/index'
const BASE_API = process.env.VUE_APP_TABLE_API

enum Api {
    VMOVIE = '/data/server/initVMovie',
    VPERSON = '/data/server/initVPerson'
}

export function initVMovieApi() {
    return request({
        url: BASE_API +  Api.VMOVIE,
        method: 'GET',
        headers: { 'content-type': 'application/x-www-form-urlencoded' }
    })
}

export function initVPersonApi() {
    return request({
        url: BASE_API +  Api.VPERSON,
        method: 'GET',
        headers: { 'content-type': 'application/x-www-form-urlencoded' }
    })
}